package Book;

public class Author implements Cloneable{

	public String name;
	public String email;
	public char gender;
	
	
	public Author(String email) {
		this.email = email;
	}
	
	public Author(String name, String email, char gender) {
		this.name = name;
		this.email = email;
		this.gender = gender;
	}

	@Override
	public String toString() {
		return "Author [name=" + name + ", email=" + email + ", gender=" + gender + "]";
	}
	
	public Object clone() {
		Author o = null;
		try {
			o = (Author)super.clone();
			return o;
		} catch (CloneNotSupportedException e) {
			e.printStackTrace();
		}
		return o;
	}
	
}
